package com.qf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Data;

/**
 * 
 * 
 * @author liuzishuo
 * @email sunlightcs@gmail.com
 * @date 2021-07-08 11:21:45
 */
@Data
@TableName("t_goods")
public class GoodsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.AUTO)
	private Integer id;

	private String gname;

	private String gdesc;

	private BigDecimal gprice;

	private String gpng;
	@TableField(value = "gtype_pid")
	private Integer gtypePid;
	@TableField(value = "gtype_cid")
	private Integer gtypeCid;
	private Integer stock;

}
